home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Make It Simple
- Date: Mon, 01 Aug 1994 11:40:16 +1000
- From: Warwick Allison <warwick@cs.uq.oz.au>
- Precedence: bulk
-
- "Kevin O'Donovan" wrote:
- >Ofir Gal said:
- > > I don't think we need application specific stuff.
- >My main concern would be that it could start taking a long time to parse.
-
- >it has to be faster than reading and parsing a file every time you
- >run. If I fire up an editor to make a quick change I want it available
- >right away.
-
- This is certainly a concern. The obvious solution is to simply have a TSR
- that reads the app_defs file and provides an access function that simply
- looks up an attirbute string and returns the corresponding value.
-
- Another simple alternative is to have a global and a local (per-app)
- file. Both should have the same format (exactly as has been described),
- so that an app-defs editor can smoothly process them, and to simplify
- the app_defs reading code.
-
- >If its provided in object code, and assuming that the interfaces match OK,
- >you wouldn't have to read his code, you'd just call it. C or assembler
- >would be the ideal languages to write such multi-language code in.
-
- This wouyld be a big advantage of a TSR implementation - only the actual
- call to the search function would be required.
-
- BTW, I know of a very efficient way to implement the app_defs format
- I have proposed: a tree, with each node being a string of text between
- the "."'s in the attribute pattern. So don't worry about speed.
-
- --
- Warwick
-